public partial class Example{

    public void ChainOfResponsibilityPattern(){
        Handler handlerA = new HandlerA();
        Handler handlerB = new HandlerB();
        handlerA.SetNextHandler(handlerB);
        handlerA.HandleRequest(new Request{RequestType = "A", RequestContent = "RequestA"});
    }
}